package cn.yunyichina.provider.pay.pacity.constant;

/**
 * 平安平台接入常量
 * Created by Lullaby on 2017/6/15.
 */
public interface PacityConstant {

    String PACITY_URL_AUTH = "pacity.url.auth"; //获取access_token接口地址

    String PACITY_USER_HTTP_BASIC_AUTH_KEY = "Bearer"; //获取用户信息接口Http Basic认证Key

    String PACITY_URL_USER_BASE = "pacity.url.user.base"; //获取用户基本信息接口地址

    String PACITY_URL_USER_REAL = "pacity.url.user.real"; //获取用户实名信息接口地址

    String PACITY_URL_USER_SICARD = "pacity.url.user.sicard"; //获取用户社保卡信息接口地址

    String PACITY_HTTP_BASIC_USERNAME = "pacity.http.basic.username"; //平台开放平台Http Basic认证用户名

    String PACITY_HTTP_BASIC_PASSWORD = "pacity.http.basic.password"; //平台开放平台Http Basic认证密码

    String PACITY_URL_TRADE_PAY = "pacity.url.trade.pay"; //支付接口地址

    String PACITY_URL_TRADE_REFUND = "pacity.url.trade.refund"; //申请退款接口地址

    String PACITY_URL_TRADE_ORDERQUERY = "pacity.url.trade.orderquery"; //查询订单接口地址

    String PACITY_URL_PAY_REFUNDQUERY = "pacity.url.trade.refundquery"; //查询退款订单接口地址

    String PACITY_URL_MESSAGE = "pacity.url.message"; //平安付消息接口地址

    /**
     * 请求用户信息接口权限范围
     */
    enum UserInfoScope {
        BASE,  //用户基本信息
        REAL,  //用户实名信息
        SICARD //用户社保卡信息
    }

}
